#define  _CRT_SECURE_NO_WARNINGS 1
#include <stdio.h>
#include <assert.h>
char* strcpy(char* dest, char* src)
{
	char* str = dest;
	assert(dest && src);
	while (*dest++ = *src++)
	{
		;
	}
	return str;
}
int main()
{
	char a[] = "love";
	char b[10] = { 0 };
	strcpy(b, a);
	printf("%s\n", b);
	printf("%s", strcpy(b, a));
	return 0;
}